package com.gange.service;

import com.gange.pojo.Emp;
import com.gange.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);
    int deletes(List<Integer> ids);
    void save(Emp emp);
    /**
     * 用户登录
     * @param emp
     * @return
     */
    public Emp login(Emp emp);
}
